number of islands leetcode python